package com.miuu.springcloud.service.impl;

import com.miuu.springcloud.dao.ProductMapper;
import com.miuu.springcloud.entry.Product;
import com.miuu.springcloud.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    private ProductMapper productMapper;

    public Product selectById(Long id) {
        return null;
    }

    public int deleteById(Long id) {
        return 0;
    }

    public int updateById(Long id, String name) {
        return 0;
    }

    public int insertOne(Product product) {
        return 0;
    }
}
